.main{
    font-family: '微軟正黑體', 'Microsoft JhengHei', '細明體_HKSCS', 'MingLiU_HKSCS', 'Arial';
    background-color: rgb(245, 245, 238);
    height: 100vh;
    .header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 84px;
        padding: 0 20px;
        .headerLeft{
            margin-left: 70px;
            >img{
                margin-left: 30px;
                cursor: pointer;
            }
        }
        .headerRight{
            display: flex;
            list-style: none;
            margin-right: 10px;
            font-size: 16px;
            align-items: baseline;
            li{
                margin: 0 10px;
                cursor: pointer;
            }
        }
    }
}
.olmap{
    position: absolute;
    top: 84px;
    left: 87px;
    right: 87px;
    bottom: 42px;
    overflow: hidden;
    .mapTool{
        list-style: none;
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 999;
        li{
            font-size: 0;
            margin-bottom: 20px;
            width: 33px;
            height: 33px;
            cursor: pointer;
            &:nth-child(1){
                background-image: url('./image/map_location.png');
                &:hover{
                    background-image: url('./image/map_location_mouseover.png');
                }
            }
            &:nth-child(2){
                background-image: url('./image/map_enlarge.png');
                &:hover{
                    background-image: url('./image/map_enlarge_mouseover.png');
                }
            }
            &:nth-child(3){
                background-image: url('./image/map_reduce.png');
                &:hover{
                    background-image: url('./image/map_reduce_mouseover.png');
                }
            }
            &:nth-child(4){
                background-image: url('./image/map_map.png');
                &:hover{
                    background-image: url('./image/map_map_mouseover.png');
                }
            }
            &:nth-child(5){
                background-image: url('./image/map_show-bus-stop.png');
            }
        }
    }
    .busRoute{
        .busRouteHeader{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            .busRouteName{
                font-size: 28pt;
                color: #444444;
                font-weight: bold;
            }
            .busRoutese{
                text-align: center;
                font-size: 13pt;
                color: #666;
                >div{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    >img{
                        margin: 6px 25px;
                    }
                    &:before{
                        content: '';
                        width: 62px;
                        height: 1px;
                        background-color: #ddd;
                    }
                    &:after{
                        content: '';
                        width: 62px;
                        height: 1px;
                        background-color: #ddd;
                    }
                }
            }
            .transform{
                width: 17px;
                height: 20px;
                cursor: pointer;
            }
        }
        .information{
            h1{
                font-size: 15pt;
                color: #393284;
                font-weight: bold;
                padding: 10px 0;
                border-bottom: 1px solid #dddddd;
            }
            ul{
                li{
                    font-size: 12pt;
                    color: #666;
                    margin: 5px 0;
                }
            }
        }
        .routeCharge{
            overflow-x: hidden;
            height: 47vh;
            padding-top: 5px;
            margin-left: -110px;
            //display: flex;
            .routeText{
                display: flex;
                flex-wrap: nowrap;
            }
            .busstopTimeline{
                font-size: 13pt;
            }
            color: #666;
        }
        .routeprice{
            width: 30px;
            text-align: center;
            background-color: #f3f3f3;
            vertical-align: top;
            padding-top: 170px;
            position: absolute;
            top: 0;
            right: 32px;
            bottom: 0;
        }
        .timetable{
            h1{
                font-size: 14pt;
                color: #393284;
                font-weight: bold;
                padding: 10px 0;
            }
            .timetableTit{
                text-align: center;
                font-size: 15pt;
                color: #666666;
                background-color: rgba(67, 112, 180, 0.12);
                padding: 2px 0;
            }
            .timetableCon{
                display: flex;
                >div:nth-child(1){
                    width: 40%;
                    text-align: center;
                    color: #666666;
                    font-size: 13pt;
                }
                >div:nth-child(2){
                    width: 60%;
                    text-align: center;
                    >div:nth-child(2){
                        text-align: center;
                        height: 100px;
                        line-height: 100px;
                        color: #666666;
                        font-size: 18pt;
                    }
                }
                img{
                    margin: 20px auto;
                }
                .timetableContit{
                    font-size: 11pt;
                    color: #aeaeae;
                    padding: 4px;
                    text-align: center;
                    border-bottom: 1px solid #dddddd;
                }
            }

        }
        :global{
            .ant-tabs-tab{
                font-size: 13pt;
            }
            .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{
                color:#393284;
            }
            .ant-tabs-ink-bar{
                background:#393284;
            }
            .ant-tabs > .ant-tabs-nav .ant-tabs-nav-more, .ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-more{
                display: none;
            }
        }
    }
    .busNav{
        .searchInput{
            background-image: url('./image/ptp_start to end.png');
            background-repeat: no-repeat;
            background-position: top left;
            padding-left: 20px;
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            input{
                height: 34px;
                width: 250px;
                border-bottom: 1px solid #ddd;
                margin-left: 10px;
                font-size: 13pt;
                display: block;
                border-radius: 0;
                &:last-child{
                    border-bottom:none;
                }
            }
            .transform{
                margin: 0 10px;
                cursor: pointer;
            }

        }
        .pricesort{
            background-color: #943B57;
            padding: 10px;
            height: 52vh;
            .result{
                color: #fff;
                font-size: 16px;
            }
            ul{
                list-style: none;
                color: #666;
                padding: 0;
                li{
                    background-color: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    margin-bottom: 2px;
                    padding: 4px 4px 4px 10px;
                    cursor: pointer;
                    >span{
                        color: #444;
                        font-size: 18pt;
                    }
                    >div{
                        color: #666;
                        font-size: 13pt;
                        text-align: right;
                        width: 90px;
                        >div:first-child{
                            border-bottom: 1px solid #dddddd;
                        }
                    }

                }
            }
        }
        :global{
            .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{
                color: #fff;
            }
            .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active, .ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab-active{
                background-color: #943B57 !important;
            }
            .ant-tabs-top > .ant-tabs-nav{
                margin: 0;
            }
            .ant-tabs-card > .ant-tabs-nav .ant-tabs-tab, .ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab{
                border: none;
                background-color: rgba(146,41,67,.7);
                font-size: 16px;
                color: #fff;
            }
        }
    }
}
.olPopup {
    position: absolute;
    top: 3px;
    left: 10px;
    padding: 0 10px;
    min-width: 280px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0.75em #777777;
    -webkit-box-shadow: 0 0 0.75em #777777;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    .popupHeader{
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #922943;
        font-size: 18px;
        padding: 6px 0;
        border-bottom: 1px solid #dddddd;
        //>span{
        //    margin: 0 14px;
        //    white-space: nowrap;
        //}
        .olPopupCloser {
            margin-left: auto;
            cursor: pointer;
        }
    }
    .content{
        padding: 10px 0;
        font-size: 14px;
        color: #666;
        h3{
            font-size: 14px;
            color:#69a3a3;
        }
        ul{
            background-color: #A85469;
            padding: 4px;
            list-style: none;
            li{
                background-color: #fff;
                padding: 4px;
                margin-bottom: 2px;
                &:first-child{
                    background-color: #A85469;
                    color: #fff;
                }
            }
        }
    }
}
.busnavSearch{
    background-color: #fff;
    padding: 20px;
    h1{
        font-size: 21pt;
        color: #922943;
    }
    .searchInput{
        background-image: url('./image/ptp_start to end.png');
        background-repeat: no-repeat;
        background-position: top left;
        padding-left: 20px;
        display: flex;
        align-items: center;
        .inputWrap{
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            span:focus{
                outline:none;
            }
            svg{
                cursor: pointer;

            }
        }
        input{
            height: 30px;
            width: 250px;
            border-bottom: 1px solid rgb(102, 102, 102);
            margin-left: 10px;
            font-size: 11pt;
            display: block;
            border-radius: 0;
        }

    }
    .transform{
        height: 20px;
        width: 17px;
        cursor: pointer;
        margin-left: 4px;
    }
    .btnSearch{
        text-align: center;
        background-color: #922943;
        color: #FFFFFF;
        width: 100%;
        height: 35px;
        line-height: 35px;
        font-size: 14pt;
        margin-top: 20px;
        cursor: pointer;
    }
    :global{
        .ant-select:not(.ant-select-customize-input) .ant-select-selector{
            border: none;
            border-bottom: 1px solid rgb(102, 102, 102);
            height: 30px;
            width: 250px;
            border-radius: 0;
            margin-left: 10px;
            font-size: 11pt;
            border-radius: 0;
        }
    }
}
.busrouteSearch{
    background-color: #fff;
    padding: 20px;
    h1{
        font-size: 21pt;
        color: #393284;
    }
    .searchInput{
        input{
            height: 30px;
            width: 250px;
            border-bottom: 1px solid rgb(102, 102, 102);
            margin-left: 10px;
            font-size: 11pt;
        }

    }
    .btnSearch{
        text-align: center;
        background-color: #393284;
        color: #FFFFFF;
        width: 100%;
        height: 35px;
        line-height: 35px;
        font-size: 14pt;
        margin-top: 20px;
        cursor: pointer;
    }
}
